//
//  model1.m
//  Travel
//
//  Created by 吴品泽 on 15/4/4.
//  Copyright (c) 2015年 &#21556;&#21697;&#27901;. All rights reserved.
//

#import "model1.h"

@implementation model1

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

- (void)getmodel2
{
    NSMutableArray *array = [NSMutableArray array];
    for (NSMutableDictionary *dic in self.trip_days) {
        model2 *model = [[model2 alloc]init];
        [model setValuesForKeysWithDictionary:dic];
        [array addObject:model];
        
    }
    
    self.trip_days = [NSMutableArray arrayWithArray:array];
}



@end
